<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>js第2次实验报告</title>
		<script type="text/javascript">
			// 使用两层for循环生成乘法表
				for (let i = 1; i <= 9; i++) {
					let line = '';	
					for (let j = 1; j <= i; j++) {
						line += `${j}*${i}=${i*j}\t`;	
					}
					console.log(line);
				}
		</script>
	</head>
	<body>
	</body>
</html>